共用方式為


IsEncrypted 屬性

取得或設定 Boolean 屬性值,指定預存程序是否經過加密。

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

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Deploy,  _
    "false")> _
Public Property IsEncrypted As Boolean
    Get
    Set
'用途
Dim instance As StoredProcedure
Dim value As Boolean

value = instance.IsEncrypted

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

屬性值

型別:System. . :: . .Boolean
Boolean 值,指定預存程序是否經過加密。
如果為 True,預存程序就會加密。
如果為 False (預設值),則預存程序不會加密。