Share via


ServerGroup.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

주의

이 네임스페이스, 클래스 또는 멤버는 Microsoft .NET Framework 2.0 버전에서만 지원됩니다.

참고 항목

참조

ServerGroup 클래스

Microsoft.SqlServer.Management.RegisteredServers 네임스페이스