ISfcAlterable.ScriptAlter 方法
Alters the script that is used to create the policy. 不要直接在程式碼中參照此成員。其支援 SQL Server 基礎結構。.
命名空間: Microsoft.SqlServer.Management.Dmf
組件: Microsoft.SqlServer.Dmf (在 Microsoft.SqlServer.Dmf.dll 中)
語法
'宣告
Private Function ScriptAlter As ISfcScript
Implements ISfcAlterable.ScriptAlter
'用途
Dim instance As PolicyCategory
Dim returnValue As ISfcScript
returnValue = CType(instance, ISfcAlterable).ScriptAlter()
ISfcScript ISfcAlterable.ScriptAlter()
private:
virtual ISfcScript^ ScriptAlter() sealed = ISfcAlterable::ScriptAlter
private abstract ScriptAlter : unit -> ISfcScript
private override ScriptAlter : unit -> ISfcScript
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
傳回值
型別:Microsoft.SqlServer.Management.Sdk.Sfc. . :: . .ISfcScript
An ISfcScript object that contains the altered script.