Dela via


Condition.CreatedBy Property

Gets the authentication credentials of the user who created the condition.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Data)> _
Public ReadOnly Property CreatedBy As String
    Get
'Usage
Dim instance As Condition
Dim value As String

value = instance.CreatedBy
[SfcPropertyAttribute(SfcPropertyFlags.Data)]
public string CreatedBy { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Data)]
public:
property String^ CreatedBy {
    String^ get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Data)>]
member CreatedBy : string
function get CreatedBy () : String

Property Value

Type: System.String
A String value that contains the authentication credentials of the user who created the condition.

Examples

C#

System.Console.WriteLine(c.CreatedBy);

VB

System.Console.WriteLine(c.CreatedBy)