Metodo ServerGroup.Export

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

Spazio dei nomi  Microsoft.SqlServer.Management.RegisteredServers
Assembly:  Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintassi

'Dichiarazione
Public Sub Export ( _
    file As String, _
    cpt As CredentialPersistenceType _
)
'Utilizzo
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
)

Parametri

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Vedere anche

Riferimento

ServerGroup Classe

Spazio dei nomi Microsoft.SqlServer.Management.RegisteredServers