Share via


Audit.Guid Property

Gets or sets the unique system identifier for the referenced audit.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Guid As Guid
    Get
    Set
'Usage
Dim instance As Audit
Dim value As Guid

value = instance.Guid

instance.Guid = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public Guid Guid { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property Guid Guid {
    Guid get ();
    void set (Guid value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Guid : Guid with get, set
function get Guid () : Guid
function set Guid (value : Guid)

Property Value

Type: System.Guid
A Guid value that specifies a unique system identifier for the referenced audit.