ObjectSet.GenerateUniqueName(Policy) 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.
Generates unique (at the moment of request) ObjectSet name based on Policy name. Policy has to be parented (otherwise uniqueness cannot be verified)
public static string GenerateUniqueName (Microsoft.SqlServer.Management.Dmf.Policy policy);
static member GenerateUniqueName : Microsoft.SqlServer.Management.Dmf.Policy -> string
Public Shared Function GenerateUniqueName (policy As Policy) As String
Parameters
- policy
- Policy
Returns
generated name, NULL if policy has no Parent