語言

SqlAssessmentExtensions.GetAssessmentItems 方法

定義

多載

名稱 Description
GetAssessmentItems(AvailabilityGroup, String[])

找到給定 availabilityGroup所有可用的檢定。

GetAssessmentItems(Database, String[])

找到給定 database所有可用的檢定。

GetAssessmentItems(FileGroup, String[])

找到給定 fileGroup所有可用的檢定。

GetAssessmentItems(Server, String[])

找到給定 server所有可用的檢定。

GetAssessmentItems(SqlSmoObject, String[])

找到給定 smoObject所有可用的檢定。

GetAssessmentItems(AvailabilityGroup, String[])

找到給定 availabilityGroup所有可用的檢定。

public static System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Assessment.Checks.ICheck> GetAssessmentItems(this Microsoft.SqlServer.Management.Smo.AvailabilityGroup availabilityGroup, params string[] checkIdsOrTags);
static member GetAssessmentItems : Microsoft.SqlServer.Management.Smo.AvailabilityGroup * string[] -> seq<Microsoft.SqlServer.Management.Assessment.Checks.ICheck>
<Extension()>
Public Function GetAssessmentItems (availabilityGroup As AvailabilityGroup, ParamArray checkIdsOrTags As String()) As IEnumerable(Of ICheck)

參數

availabilityGroup
AvailabilityGroup

退回的支票適用於此目標 AvailabilityGroup。

checkIdsOrTags
String[]

可選的支票 ID 或標籤陣列 String ,只選擇特定支票。

傳回

返回 對 IEnumerable<T> 目標 SqlSmoObject。

適用於

GetAssessmentItems(Database, String[])

找到給定 database所有可用的檢定。

public static System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Assessment.Checks.ICheck> GetAssessmentItems(this Microsoft.SqlServer.Management.Smo.Database database, params string[] checkIdsOrTags);
static member GetAssessmentItems : Microsoft.SqlServer.Management.Smo.Database * string[] -> seq<Microsoft.SqlServer.Management.Assessment.Checks.ICheck>
<Extension()>
Public Function GetAssessmentItems (database As Database, ParamArray checkIdsOrTags As String()) As IEnumerable(Of ICheck)

參數

database
Database

退回的支票適用於此目標 Database。

checkIdsOrTags
String[]

可選的支票 ID 或標籤陣列 String ,只選擇特定支票。

傳回

返回 對 IEnumerable<T> 目標 SqlSmoObject。

適用於

GetAssessmentItems(FileGroup, String[])

找到給定 fileGroup所有可用的檢定。

public static System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Assessment.Checks.ICheck> GetAssessmentItems(this Microsoft.SqlServer.Management.Smo.FileGroup fileGroup, params string[] checkIdsOrTags);
static member GetAssessmentItems : Microsoft.SqlServer.Management.Smo.FileGroup * string[] -> seq<Microsoft.SqlServer.Management.Assessment.Checks.ICheck>
<Extension()>
Public Function GetAssessmentItems (fileGroup As FileGroup, ParamArray checkIdsOrTags As String()) As IEnumerable(Of ICheck)

參數

fileGroup
FileGroup

退回的支票適用於此目標 FileGroup。

checkIdsOrTags
String[]

可選的支票 ID 或標籤陣列 String ,只選擇特定支票。

傳回

返回 對 IEnumerable<T> 目標 SqlSmoObject。

適用於

GetAssessmentItems(Server, String[])

找到給定 server所有可用的檢定。

public static System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Assessment.Checks.ICheck> GetAssessmentItems(this Microsoft.SqlServer.Management.Smo.Server server, params string[] checkIdsOrTags);
static member GetAssessmentItems : Microsoft.SqlServer.Management.Smo.Server * string[] -> seq<Microsoft.SqlServer.Management.Assessment.Checks.ICheck>
<Extension()>
Public Function GetAssessmentItems (server As Server, ParamArray checkIdsOrTags As String()) As IEnumerable(Of ICheck)

參數

server
Server

退回的支票適用於此目標 Server。

checkIdsOrTags
String[]

可選的支票 ID 或標籤陣列 String ,只選擇特定支票。

傳回

返回 對 IEnumerable<T> 目標 SqlSmoObject。

適用於

GetAssessmentItems(SqlSmoObject, String[])

找到給定 smoObject所有可用的檢定。

public static System.Collections.Generic.IEnumerable<Microsoft.SqlServer.Management.Assessment.Checks.ICheck> GetAssessmentItems(this Microsoft.SqlServer.Management.Smo.SqlSmoObject smoObject, params string[] checkIdsOrTags);
static member GetAssessmentItems : Microsoft.SqlServer.Management.Smo.SqlSmoObject * string[] -> seq<Microsoft.SqlServer.Management.Assessment.Checks.ICheck>
<Extension()>
Public Function GetAssessmentItems (smoObject As SqlSmoObject, ParamArray checkIdsOrTags As String()) As IEnumerable(Of ICheck)

參數

smoObject
SqlSmoObject

退回的支票適用於此目標 SqlSmoObject。

checkIdsOrTags
String[]

可選的支票 ID 或標籤陣列 String ,只選擇特定支票。

傳回

返回 對 IEnumerable<T> 目標 SqlSmoObject。

適用於