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
매개 변수
- sqlStoreConnection
유형: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection object.
반환 값
유형: Microsoft.SqlServer.Management.Utility.ManagedInstance
A ManagedInstance object.