Exemplo n.º 1
0
 /// <summary>Initializes the dialog with the specified known object.</summary>
 /// <param name="fullObjectName">Full name of the object.</param>
 /// <param name="serverName">Name of the server. This value can be <c>null</c>.</param>
 /// <param name="resourceType">Type of the object resource.</param>
 /// <exception cref="System.ArgumentException">
 /// Unable to create an object from supplied arguments.
 /// </exception>
 public void Initialize(string fullObjectName, string serverName, System.Security.AccessControl.ResourceType resourceType)
 {
     Initialize(SecuredObject.GetKnownObject(resourceType, fullObjectName, serverName));
 }
 /// <summary>Initializes the dialog with the specified known object.</summary>
 /// <param name="fullObjectName">Full name of the object.</param>
 /// <param name="server">Name of the server. This value can be <c>null</c>.</param>
 /// <param name="resourceType">Type of the object resource.</param>
 /// <exception cref="System.ArgumentException">Unable to create an object from supplied arguments.</exception>
 public void Initialize(string fullObjectName, string server, ResourceType resourceType)
 {
     Initialize(SecuredObject.GetKnownObject(resourceType, fullObjectName, server));
 }