TaskUIUtils.IsMemberOfServerRole(Server, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
static bool IsMemberOfServerRole(Microsoft::SqlServer::Management::Smo::Server ^ server, System::String ^ serverRole);
public static bool IsMemberOfServerRole (Microsoft.SqlServer.Management.Smo.Server server, string serverRole);
static member IsMemberOfServerRole : Microsoft.SqlServer.Management.Smo.Server * string -> bool
Public Shared Function IsMemberOfServerRole (server As Server, serverRole As String) As Boolean
Parameters
- server
- Server
- serverRole
- String