Export 方法
Exports the server group to the specified file and using the specified credential persistence type.
命名空间: Microsoft.SqlServer.Management.RegisteredServers
程序集: Microsoft.SqlServer.Management.RegisteredServers(在 Microsoft.SqlServer.Management.RegisteredServers.dll 中)
语法
声明
Public Sub Export ( _
file As String, _
cpt As CredentialPersistenceType _
)
用法
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
)
参数
- file
类型:System. . :: . .String
A String value that specifies the file to which the server group is exported
- cpt
类型:Microsoft.SqlServer.Management.RegisteredServers. . :: . .CredentialPersistenceType
A CredentialPersistenceType object that specifies that specifies how login and password information is persisted.
注释
仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。