Dela via


SchemaCompareExcludedElement.NameParts Property

Gets a list of the parts of an element name. The set procedure is private.

Namespace:  Microsoft.Data.Schema.Tools.Compare.Schema
Assembly:  Microsoft.Data.Schema.Tools (in Microsoft.Data.Schema.Tools.dll)

Syntax

'Declaration
Protected Property NameParts As IList(Of String)
protected IList<string> NameParts { get; private set; }
protected:
property IList<String^>^ NameParts {
    IList<String^>^ get ();
    private: void set (IList<String^>^ value);
}
member NameParts : IList<string> with get, private set
function get NameParts () : IList<String>
private function set NameParts (value : IList<String>)

Property Value

Type: System.Collections.Generic.IList<String>
A list of the parts of an element name.

Remarks

An element name of "dbo.MyTable" would be parsed into <Name> elements as follows:

<SelectedItem 
    Type="Microsoft.Data.Schema.Sql.SchemaModel.Sql100SchemaModel,
        Microsoft.Data.Schema.Sql, Version=10.0.0.0, Culture=neutral, 
        PublicKeyToken=bo3f5f7f11d50a3a">
  <Name>dbo</Name>
  <Name>MyTable</Name>
</SelectedItem>

.NET Framework Security

See Also

Reference

SchemaCompareExcludedElement Class

Microsoft.Data.Schema.Tools.Compare.Schema Namespace