Примечание.
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Exports the registered server to the specified file and using the given 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 RegisteredServer
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 registered server is exported.
- cpt
Тип: Microsoft.SqlServer.Management.RegisteredServers.CredentialPersistenceType
A CredentialPersistenceType value that specifies how the login and password information are persisted.
Замечания
Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Management.RegisteredServers