RegisteredServer.Export(String, CredentialPersistenceType) RegisteredServer.Export(String, CredentialPersistenceType) RegisteredServer.Export(String, CredentialPersistenceType) Method

Definition

Exports the registered server to the specified file and using the given credential persistence type.

public:
 void Export(System::String ^ file, Microsoft::SqlServer::Management::RegisteredServers::CredentialPersistenceType cpt);
public void Export (string file, Microsoft.SqlServer.Management.RegisteredServers.CredentialPersistenceType cpt);
Public Sub Export (file As String, cpt As CredentialPersistenceType)
Parameters
file
String String String

A String value that specifies the file to which the registered server is exported.

cpt
CredentialPersistenceType CredentialPersistenceType CredentialPersistenceType

A CredentialPersistenceType value that specifies how the login and password information are persisted.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Applies to