다음을 통해 공유


Utility.EnrollInstance 메서드

정의

Utility 개체를 서버에 등록합니다.

오버로드

EnrollInstance(SqlStoreConnection, String, SqlSecureString)

sqlStoreConnection 매개 변수가 제공하는 연결에 Utility 개체를 등록합니다.

EnrollInstance(SqlStoreConnection)

sqlStoreConnection 매개 변수가 제공하는 연결에 Utility 개체를 등록합니다.

EnrollInstance(SqlStoreConnection, String, SqlSecureString)

sqlStoreConnection 매개 변수가 제공하는 연결에 Utility 개체를 등록합니다.

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

매개 변수

sqlStoreConnection
SqlStoreConnection

SqlStoreConnection 개체입니다.

agentProxyAccount
String

에이전트 프록시 계정을 지정하는 문자열 값입니다.

agentProxyPassword
Microsoft.SqlServer.Common.SqlSecureString

암호가 포함된 Microsoft.SqlServer.Common.SqlSecureString 개체입니다.

반환

ManagedInstance 개체입니다.

적용 대상

EnrollInstance(SqlStoreConnection)

sqlStoreConnection 매개 변수가 제공하는 연결에 Utility 개체를 등록합니다.

public:
 Microsoft::SqlServer::Management::Utility::ManagedInstance ^ EnrollInstance(Microsoft::SqlServer::Management::Sdk::Sfc::SqlStoreConnection ^ sqlStoreConnection);
public Microsoft.SqlServer.Management.Utility.ManagedInstance EnrollInstance (Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection sqlStoreConnection);
member this.EnrollInstance : Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection -> Microsoft.SqlServer.Management.Utility.ManagedInstance
Public Function EnrollInstance (sqlStoreConnection As SqlStoreConnection) As ManagedInstance

매개 변수

sqlStoreConnection
SqlStoreConnection

SqlStoreConnection 개체입니다.

반환

ManagedInstance 개체입니다.

적용 대상