Share via


Propriété DefaultLog

Gets or sets the DefaultLog property for a String.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")> _
<DisplayNameKeyAttribute("Server_DefaultLogName")> _
Property DefaultLog As String
    Get
    Set
'Utilisation
Dim instance As IServerSettings
Dim value As String

value = instance.DefaultLog

instance.DefaultLog = value
[DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")]
[DisplayNameKeyAttribute("Server_DefaultLogName")]
string DefaultLog { get; set; }
[DisplayDescriptionKeyAttribute(L"Server_DefaultLogDesc")]
[DisplayNameKeyAttribute(L"Server_DefaultLogName")]
property String^ DefaultLog {
    String^ get ();
    void set (String^ value);
}
[<DisplayDescriptionKeyAttribute("Server_DefaultLogDesc")>]
[<DisplayNameKeyAttribute("Server_DefaultLogName")>]
abstract DefaultLog : string with get, set
function get DefaultLog () : String
function set DefaultLog (value : String)

Valeur de propriété

Type : System. . :: . .String
String