共用方式為


DefaultValue 屬性

Gets or sets the default value of the parameter.

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

語法

'宣告
<SfcPropertyAttribute> _
Public Property DefaultValue As String
    Get
    Set
'用途
Dim instance As Parameter
Dim value As String

value = instance.DefaultValue

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

屬性值

型別:System. . :: . .String
A String value that specifies the default value of the parameter.