CreateUtility 메서드 (String, SqlStoreConnection, String, )
Creates a Utility object.
네임스페이스: Microsoft.SqlServer.Management.Utility
어셈블리: Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)
구문
‘선언
Public Shared Function CreateUtility ( _
utilityName As String, _
sqlStoreConnection As SqlStoreConnection, _
agentProxyAccount As String, _
agentProxyPassword As SqlSecureString _
) As Utility
‘사용 방법
Dim utilityName As String
Dim sqlStoreConnection As SqlStoreConnection
Dim agentProxyAccount As String
Dim agentProxyPassword As SqlSecureString
Dim returnValue As Utility
returnValue = Utility.CreateUtility(utilityName, _
sqlStoreConnection, agentProxyAccount, _
agentProxyPassword)
public static Utility CreateUtility(
string utilityName,
SqlStoreConnection sqlStoreConnection,
string agentProxyAccount,
SqlSecureString agentProxyPassword
)
public:
static Utility^ CreateUtility(
String^ utilityName,
SqlStoreConnection^ sqlStoreConnection,
String^ agentProxyAccount,
SqlSecureString^ agentProxyPassword
)
static member CreateUtility :
utilityName:string *
sqlStoreConnection:SqlStoreConnection *
agentProxyAccount:string *
agentProxyPassword:SqlSecureString -> Utility
public static function CreateUtility(
utilityName : String,
sqlStoreConnection : SqlStoreConnection,
agentProxyAccount : String,
agentProxyPassword : SqlSecureString
) : Utility
매개 변수
- utilityName
유형: System. . :: . .String
A string value that specifies the name of the utility.
- sqlStoreConnection
유형: Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .SqlStoreConnection
A SqlStoreConnection object.
- agentProxyAccount
유형: System. . :: . .String
A string value that specifies the agent proxy account.
- agentProxyPassword
유형: SqlSecureString
A SqlSecureString object that contains the password.
반환 값
유형: Microsoft.SqlServer.Management.Utility. . :: . .Utility
A Utility object.