共用方式為


NumberedStoredProcedure.IsEncrypted 屬性

Gets or sets the Boolean property value that specifies whether the numbered stored procedure is encrypted.

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property IsEncrypted As Boolean 
    Get 
    Set
'用途
Dim instance As NumberedStoredProcedure 
Dim value As Boolean 

value = instance.IsEncrypted

instance.IsEncrypted = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public bool IsEncrypted { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property bool IsEncrypted {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member IsEncrypted : bool with get, set
function get IsEncrypted () : boolean 
function set IsEncrypted (value : boolean)

屬性值

型別:System.Boolean
A Boolean value that specifies the whether the numbered stored procedure is encrypted.If True, the stored procedure is encrypted.If False (default), the stored procedure is not encrypted.

範例

建立、改變和移除預存程序

請參閱

參考

NumberedStoredProcedure 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

CREATE PROCEDURE (Transact-SQL)