다음을 통해 공유


CreateUtility 메서드 (String, SqlStoreConnection)

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 _
) As Utility
‘사용 방법
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

매개 변수