SqlAssessmentExtensions.GetAssessmentItems Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetAssessmentItems(AvailabilityGroup, String[]) |
Finds all available checks for given |
GetAssessmentItems(Database, String[]) |
Finds all available checks for given |
GetAssessmentItems(FileGroup, String[]) |
Finds all available checks for given |
GetAssessmentItems(Server, String[]) |
Finds all available checks for given |
GetAssessmentItems(SqlSmoObject, String[]) |
Finds all available checks for given |
GetAssessmentItems(AvailabilityGroup, String[])
Finds all available checks for given 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)
Parameters
- availabilityGroup
- AvailabilityGroup
Returned checks are applicable to this target AvailabilityGroup.
Returns
Returns an IEnumerable<T> for target SqlSmoObject.
Applies to
GetAssessmentItems(Database, String[])
Finds all available checks for given 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)
Parameters
Returns
Returns an IEnumerable<T> for target SqlSmoObject.
Applies to
GetAssessmentItems(FileGroup, String[])
Finds all available checks for given 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)
Parameters
Returns
Returns an IEnumerable<T> for target SqlSmoObject.
Applies to
GetAssessmentItems(Server, String[])
Finds all available checks for given 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)
Parameters
Returns
Returns an IEnumerable<T> for target SqlSmoObject.
Applies to
GetAssessmentItems(SqlSmoObject, String[])
Finds all available checks for given 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)
Parameters
- smoObject
- SqlSmoObject
Returned checks are applicable to this target SqlSmoObject.
Returns
Returns an IEnumerable<T> for target SqlSmoObject.