Server.DefaultFile 屬性
Gets or sets the DefaultFile property value.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultFile As String
Get
Set
'用途
Dim instance As Server
Dim value As String
value = instance.DefaultFile
instance.DefaultFile = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string DefaultFile { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property String^ DefaultFile {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract DefaultFile : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override DefaultFile : string with get, set
final function get DefaultFile () : String
final function set DefaultFile (value : String)
屬性值
型別:System.String
The DefaultFile property value.