Compartilhar via


Método ServerGroup.Export

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

Namespace:  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
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

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Consulte também

Referência

ServerGroup Classe

Namespace Microsoft.SqlServer.Management.RegisteredServers