Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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 (in Microsoft.SqlServer.Management.RegisteredServers.dll)
Syntax
'Declaration
Public Sub Export ( _
file As String, _
cpt As CredentialPersistenceType _
)
'Usage
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
)
Parameters
- file
Type: System.String
A String value that specifies the file to which the server group is exported
- cpt
Type: Microsoft.SqlServer.Management.RegisteredServers.CredentialPersistenceType
A CredentialPersistenceType object that specifies that specifies how login and password information is persisted.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.