Share via


SetUserStatement.UserName Property

Gets or sets the user name.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property UserName As Literal
public Literal UserName { get; set; }
public:
property Literal^ UserName {
    Literal^ get ();
    void set (Literal^ value);
}
member UserName : Literal with get, set
function get UserName () : Literal
function set UserName (value : Literal)

Property Value

Type: Microsoft.Data.Schema.ScriptDom.Sql.Literal

Remarks

Value can be a string or a variable. Optional, may be null.

.NET Framework Security

See Also

Reference

SetUserStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace