다음을 통해 공유


Utility.EnrollInstance 메서드 (SqlStoreConnection)

Enrolls a Utility object with the connection supplied by sqlStoreConnection parameter.

네임스페이스:  Microsoft.SqlServer.Management.Utility
어셈블리:  Microsoft.SqlServer.Management.Utility(Microsoft.SqlServer.Management.Utility.dll)

구문

‘선언
Public Function EnrollInstance ( _
    sqlStoreConnection As SqlStoreConnection _
) As ManagedInstance
‘사용 방법
Dim instance As Utility 
Dim sqlStoreConnection As SqlStoreConnection 
Dim returnValue As ManagedInstance 

returnValue = instance.EnrollInstance(sqlStoreConnection)
public ManagedInstance EnrollInstance(
    SqlStoreConnection sqlStoreConnection
)
public:
ManagedInstance^ EnrollInstance(
    SqlStoreConnection^ sqlStoreConnection
)
member EnrollInstance : 
        sqlStoreConnection:SqlStoreConnection -> ManagedInstance
public function EnrollInstance(
    sqlStoreConnection : SqlStoreConnection
) : ManagedInstance

매개 변수

반환 값

유형: Microsoft.SqlServer.Management.Utility.ManagedInstance
A ManagedInstance object.

참고 항목

참조

Utility 클래스

EnrollInstance 오버로드

Microsoft.SqlServer.Management.Utility 네임스페이스