共用方式為


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 命名空間