共用方式為


ObjectSet 建構函式 (PolicyStore, String)

Initializes a new instance of the ObjectSet class that has the specified parent policy store and the specified name.

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

語法

'宣告
Public Sub New ( _
    parent As PolicyStore, _
    name As String _
)
'用途
Dim parent As PolicyStore
Dim name As String

Dim instance As New ObjectSet(parent, _
    name)
public ObjectSet(
    PolicyStore parent,
    string name
)
public:
ObjectSet(
    PolicyStore^ parent, 
    String^ name
)
new : 
        parent:PolicyStore * 
        name:string -> ObjectSet
public function ObjectSet(
    parent : PolicyStore, 
    name : String
)

參數