Transfer.ProcessDependencyChain 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.
Process a dependency chain, into a list of objects. Order is preserved, but duplicates are removed
protected static Microsoft.SqlServer.Management.Sdk.Sfc.Urn[] ProcessDependencyChain (Microsoft.SqlServer.Management.Smo.Server server, Microsoft.SqlServer.Management.Sdk.Sfc.DependencyChainCollection dependencyChain, bool isDataOnly, bool isCreateOrder);
static member ProcessDependencyChain : Microsoft.SqlServer.Management.Smo.Server * Microsoft.SqlServer.Management.Sdk.Sfc.DependencyChainCollection * bool * bool -> Microsoft.SqlServer.Management.Sdk.Sfc.Urn[]
Protected Shared Function ProcessDependencyChain (server As Server, dependencyChain As DependencyChainCollection, isDataOnly As Boolean, isCreateOrder As Boolean) As Urn()
Parameters
- server
- Server
- dependencyChain
- DependencyChainCollection
- isDataOnly
- Boolean
specifies if the ordering is needed for data only scripting or not. In case of data only scripting, foreign key relationships are never broken All other type of relationships can be broken since other objects are not scripted during data only
- isCreateOrder
- Boolean