共用方式為


PolicyStore.MarkSystemObject 方法

Sets the name of a Policy, Condition, or ObjectSet.

命名空間:  Microsoft.SqlServer.Management.Dmf
組件:  Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)

語法

'宣告
Public Sub MarkSystemObject ( _
    obj As Object, _
    marker As Boolean _
)
'用途
Dim instance As PolicyStore 
Dim obj As Object 
Dim marker As Boolean

instance.MarkSystemObject(obj, marker)
public void MarkSystemObject(
    Object obj,
    bool marker
)
public:
void MarkSystemObject(
    Object^ obj, 
    bool marker
)
member MarkSystemObject : 
        obj:Object * 
        marker:bool -> unit
public function MarkSystemObject(
    obj : Object, 
    marker : boolean
)

參數

  • marker
    型別:System.Boolean
    Boolean value that specifies whether to mark obj.

請參閱

參考

PolicyStore 類別

Microsoft.SqlServer.Management.Dmf 命名空間