共用方式為


TaskUIUtils.IsMemberOfDatabaseRole(Server, String) Method

Definition

public:
 static bool IsMemberOfDatabaseRole(Microsoft::SqlServer::Management::Smo::Server ^ server, System::String ^ dbRole);
public static bool IsMemberOfDatabaseRole (Microsoft.SqlServer.Management.Smo.Server server, string dbRole);
static member IsMemberOfDatabaseRole : Microsoft.SqlServer.Management.Smo.Server * string -> bool
Public Shared Function IsMemberOfDatabaseRole (server As Server, dbRole As String) As Boolean

Parameters

server
Server
dbRole
String

Returns

Applies to