PublicationMonitor.Type 属性

Gets the type of replication in which the publication participates.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Rmo(在 Microsoft.SqlServer.Rmo.dll 中)

语法

声明
Public ReadOnly Property Type As PublicationType 
    Get
用法
Dim instance As PublicationMonitor 
Dim value As PublicationType 

value = instance.Type
public PublicationType Type { get; }
public:
property PublicationType Type {
    PublicationType get ();
}
member Type : PublicationType
function get Type () : PublicationType

属性值

类型:Microsoft.SqlServer.Replication.PublicationType
A PublicationType value.

注释

The Type property can only be retrieved by members of the sysadmin fixed server role at the Distributor or by members of the db_owner or replmonitor fixed database roles on the distribution database.

请参阅

参考

PublicationMonitor 类

Microsoft.SqlServer.Replication 命名空间