Поделиться через


Свойство ReplicationServer.WorkingDirectory

Gets the working directory used by a Publisher.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public ReadOnly Property WorkingDirectory As String 
    Get
'Применение
Dim instance As ReplicationServer 
Dim value As String 

value = instance.WorkingDirectory
public string WorkingDirectory { get; }
public:
property String^ WorkingDirectory {
    String^ get ();
}
member WorkingDirectory : string
function get WorkingDirectory () : String

Значение свойства

Тип: System.String
A String value that specifies the working directory.

Замечания

The WorkingDirectory property is only valid when the replication server is a Publisher.

The WorkingDirectory property can be retrieved by members of the sysadmin fixed server role at the Publisher, by members of the db_owner fixed database role in a published database, or by users in the publication access list (PAL) for publications at this Publisher.

См. также

Справочник

ReplicationServer Класс

Пространство имен Microsoft.SqlServer.Replication