ServerGroup.Export Método
Exports the server group to the specified file and using the specified credential persistence type.
Espacio de nombres: Microsoft.SqlServer.Management.RegisteredServers
Ensamblado: Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)
Sintaxis
'Declaración
Public Sub Export ( _
file As String, _
cpt As CredentialPersistenceType _
)
'Uso
Dim instance As ServerGroup
Dim file As String
Dim cpt As CredentialPersistenceType
instance.Export(file, cpt)
public void Export(
string file,
CredentialPersistenceType cpt
)
public:
void Export(
String^ file,
CredentialPersistenceType cpt
)
member Export :
file:string *
cpt:CredentialPersistenceType -> unit
public function Export(
file : String,
cpt : CredentialPersistenceType
)
Parámetros
- file
Tipo: System.String
A String value that specifies the file to which the server group is exported
- cpt
Tipo: Microsoft.SqlServer.Management.RegisteredServers.CredentialPersistenceType
A CredentialPersistenceType object that specifies that specifies how login and password information is persisted.
Comentarios
Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.RegisteredServers