Compartilhar via


Propriedade UserProfile

Gets the user profile associated with the referenced connection.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Public ReadOnly Property UserProfile As ServerUserProfiles
    Get
'Uso
Dim instance As ServerConnection
Dim value As ServerUserProfiles

value = instance.UserProfile
public ServerUserProfiles UserProfile { get; }
public:
property ServerUserProfiles UserProfile {
    ServerUserProfiles get ();
}
member UserProfile : ServerUserProfiles
function get UserProfile () : ServerUserProfiles

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.Common. . :: . .ServerUserProfiles
A ServerUserProfiles object value that specifies the user profile associated with the referenced connection.