Export (0) Print
Expand All

Utility.EnrollInstance Method (SqlStoreConnection, String, SqlSecureString)

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

Namespace:  Microsoft.SqlServer.Management.Utility
Assembly:  Microsoft.SqlServer.Management.Utility (in Microsoft.SqlServer.Management.Utility.dll)

public ManagedInstance EnrollInstance(
	SqlStoreConnection sqlStoreConnection,
	string agentProxyAccount,
	SqlSecureString agentProxyPassword
)

Parameters

sqlStoreConnection
Type: Microsoft.SqlServer.Management.Sdk.Sfc.SqlStoreConnection
A SqlStoreConnection object.
agentProxyAccount
Type: String
A string value that specifies the agent proxy account.
agentProxyPassword
Type: SqlSecureString
A SqlSecureString object that contains the password.

Community Additions

Show:
© 2015 Microsoft