Partilhar via


Database.Collation Property

Gets or sets the collation type for a Database.

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
<XmlElementAttribute(IsNullable:=False)> _
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")> _
<EditorAttribute("Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", GetType(UITypeEditor))> _
Public Property Collation As String
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute("Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public string Collation { get; set; }
[XmlElementAttribute(IsNullable=false)] 
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.CollationTypeConverter, Microsoft.AnalysisServices.Design")] 
[EditorAttribute(L"Microsoft.AnalysisServices.Design.CollationPropertyTypeEditor, Microsoft.AnalysisServices.Design", typeof(UITypeEditor))] 
public:
property String^ Collation {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_Collation ()

/** @property */
public void set_Collation (String value)
public function get Collation () : String

public function set Collation (value : String)

Property Value

The collation type.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Database Class
Database Members
Microsoft.AnalysisServices Namespace