مشاركة عبر


Parameter.DefaultValue Property

Gets or sets the default value of the parameter.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property DefaultValue As String
    Get
    Set
'Usage
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)

Property Value

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