共用方式為


Policy.ScriptCreateWithDependencies 方法

Creates the ISfcScript object of the Policy object.

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

語法

'宣告
Public Function ScriptCreateWithDependencies As ISfcScript
'用途
Dim instance As Policy 
Dim returnValue As ISfcScript 

returnValue = instance.ScriptCreateWithDependencies()
public ISfcScript ScriptCreateWithDependencies()
public:
ISfcScript^ ScriptCreateWithDependencies()
member ScriptCreateWithDependencies : unit -> ISfcScript
public function ScriptCreateWithDependencies() : ISfcScript

傳回值

型別:Microsoft.SqlServer.Management.Sdk.Sfc.ISfcScript
The ISfcScript object.

請參閱

參考

Policy 類別

Microsoft.SqlServer.Management.Dmf 命名空間