共用方式為


DefaultFile 屬性

Gets or sets the DefaultFile property value.

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

語法

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

value = instance.DefaultFile

instance.DefaultFile = value
[SfcPropertyAttribute]
public string DefaultFile { get; set; }
[SfcPropertyAttribute]
public:
virtual property String^ DefaultFile {
    String^ get () sealed;
    void set (String^ value) sealed;
}
[<SfcPropertyAttribute>]
abstract DefaultFile : string with get, set
[<SfcPropertyAttribute>]
override DefaultFile : string with get, set
final function get DefaultFile () : String
final function set DefaultFile (value : String)

屬性值

型別:System. . :: . .String
String

實作

IServerSettings. . :: . .DefaultFile