Share via


ObjectSet.GenerateUniqueName(Policy) Method

Definition

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

Applies to