Parameter.DefaultValue プロパティ

パラメーターの既定値を取得または設定します。

名前空間:  Microsoft.SqlServer.Management.Smo
アセンブリ:  Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)

構文

'宣言
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design)> _
Public Property DefaultValue As String 
    Get 
    Set
'使用
Dim instance As Parameter 
Dim value As String 

value = instance.DefaultValue

instance.DefaultValue = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)]
public string DefaultValue { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design)]
public:
property String^ DefaultValue {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design)>]
member DefaultValue : string with get, set
function get DefaultValue () : String 
function set DefaultValue (value : String)

プロパティ値

型: System.String
パラメーターの既定値を指定する String 値です。

使用例

ストアド プロシージャの作成、変更、および削除

インデックスの作成、変更、および削除

関連項目

参照

Parameter クラス

Microsoft.SqlServer.Management.Smo 名前空間