共用方式為


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
)

參數

備註

只有 Microsoft .NET Framework 2.0 版支援此命名空間、類別或成員。