Delen via


SetUserStatement.UserName Property

Gets or sets the user name

Namespace:  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly:  Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntax

'Declaration
Public Property UserName As ValueExpression 
    Get 
    Set
'Usage
Dim instance As SetUserStatement 
Dim value As ValueExpression 

value = instance.UserName

instance.UserName = value
public ValueExpression UserName { get; set; }
public:
property ValueExpression^ UserName {
    ValueExpression^ get ();
    void set (ValueExpression^ value);
}
member UserName : ValueExpression with get, set
function get UserName () : ValueExpression 
function set UserName (value : ValueExpression)

Property Value

Type: Microsoft.SqlServer.TransactSql.ScriptDom.ValueExpression
The user name.

See Also

Reference

SetUserStatement Class

Microsoft.SqlServer.TransactSql.ScriptDom Namespace