Utility.CreateUtility Método

Definición

Crea un objeto Utility.

Sobrecargas

CreateUtility(String, SqlStoreConnection, String, SqlSecureString)

Crea un objeto Utility.

CreateUtility(String, SqlStoreConnection)

Crea un objeto Utility.

CreateUtility(String, SqlStoreConnection, String, SqlSecureString)

Crea un objeto Utility.

public:
 static Microsoft::SqlServer::Management::Utility::Utility ^ CreateUtility(System::String ^ utilityName, Microsoft::SqlServer::Management::Sdk::Sfc::SqlStoreConnection ^ sqlStoreConnection, System::String ^ agentProxyAccount, Microsoft::SqlServer::Common::SqlSecureString ^ agentProxyPassword);
public static Microsoft.SqlServer.Management.Utility.Utility CreateUtility (string utilityName, Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection sqlStoreConnection, string agentProxyAccount, Microsoft.SqlServer.Common.SqlSecureString agentProxyPassword);
static member CreateUtility : string * Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection * string * Microsoft.SqlServer.Common.SqlSecureString -> Microsoft.SqlServer.Management.Utility.Utility
Public Shared Function CreateUtility (utilityName As String, sqlStoreConnection As SqlStoreConnection, agentProxyAccount As String, agentProxyPassword As SqlSecureString) As Utility

Parámetros

utilityName
String

Valor de cadena que especifica el nombre de la utilidad.

sqlStoreConnection
SqlStoreConnection

Un objeto SqlStoreConnection.

agentProxyAccount
String

Valor de cadena que especifica la cuenta de proxy del agente.

agentProxyPassword
Microsoft.SqlServer.Common.SqlSecureString

Objeto Microsoft.SqlServer.Common.SqlSecureString que contiene la contraseña.

Devoluciones

Utility

Un objeto Utility.

Se aplica a

CreateUtility(String, SqlStoreConnection)

Crea un objeto Utility.

public:
 static Microsoft::SqlServer::Management::Utility::Utility ^ CreateUtility(System::String ^ utilityName, Microsoft::SqlServer::Management::Sdk::Sfc::SqlStoreConnection ^ sqlStoreConnection);
public static Microsoft.SqlServer.Management.Utility.Utility CreateUtility (string utilityName, Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection sqlStoreConnection);
static member CreateUtility : string * Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection -> Microsoft.SqlServer.Management.Utility.Utility
Public Shared Function CreateUtility (utilityName As String, sqlStoreConnection As SqlStoreConnection) As Utility

Parámetros

utilityName
String

Valor de cadena que especifica el nombre de la utilidad.

sqlStoreConnection
SqlStoreConnection

Un objeto SqlStoreConnection.

Devoluciones

Utility

Un objeto Utility.

Se aplica a