Server.DefaultLog Property
Gets or sets the default log of the server.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property DefaultLog As String
Get
Set
'Usage
Dim instance As Server
Dim value As String
value = instance.DefaultLog
instance.DefaultLog = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string DefaultLog { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
virtual property String^ DefaultLog {
String^ get () sealed;
void set (String^ value) sealed;
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
abstract DefaultLog : string with get, set
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
override DefaultLog : string with get, set
final function get DefaultLog () : String
final function set DefaultLog (value : String)
Property Value
Type: System.String
The default log of the server.