Utility.CreateUtility Método (String, SqlStoreConnection)
Creates a Utility object.
Espacio de nombres: Microsoft.SqlServer.Management.Utility
Ensamblado: Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Sintaxis
'Declaración
Public Shared Function CreateUtility ( _
utilityName As String, _
sqlStoreConnection As SqlStoreConnection _
) As Utility
'Uso
Dim utilityName As String
Dim sqlStoreConnection As SqlStoreConnection
Dim returnValue As Utility
returnValue = Utility.CreateUtility(utilityName, _
sqlStoreConnection)
public static Utility CreateUtility(
string utilityName,
SqlStoreConnection sqlStoreConnection
)
public:
static Utility^ CreateUtility(
String^ utilityName,
SqlStoreConnection^ sqlStoreConnection
)
static member CreateUtility :
utilityName:string *
sqlStoreConnection:SqlStoreConnection -> Utility
public static function CreateUtility(
utilityName : String,
sqlStoreConnection : SqlStoreConnection
) : Utility
Parámetros
- utilityName
Tipo: System.String
A string value that specifies the name of the utility.
- sqlStoreConnection
Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection object.
Valor devuelto
Tipo: Microsoft.SqlServer.Management.Utility.Utility
A Utility object.