Partager via


Méthode ServerGroup.Export

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

Espace de noms :  Microsoft.SqlServer.Management.RegisteredServers
Assembly :  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Syntaxe

'Déclaration
Public Sub Export ( _
    file As String, _
    cpt As CredentialPersistenceType _
)
'Utilisation
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
)

Paramètres

  • file
    Type : System.String
    A String value that specifies the file to which the server group is exported

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Voir aussi

Référence

ServerGroup Classe

Espace de noms Microsoft.SqlServer.Management.RegisteredServers