Partilhar via


DataConnectionFile.Category Property

Gets or sets the category of a Universal Data Connection (UDC) file located in the central data connection store on a server farm.

Namespace:  Microsoft.Office.InfoPath.Server.Administration
Assembly:  Microsoft.Office.InfoPath.Server (in Microsoft.Office.InfoPath.Server.dll)

Syntax

'Declaration
Public Property Category As String
    Get
    Set
'Usage
Dim instance As DataConnectionFile
Dim value As String

value = instance.Category

instance.Category = value
public string Category { get; set; }

Property Value

Type: System.String
A string representing the category to which the data connection file is assigned.

Remarks

There are no built-in categories, but assigning categories can be useful if you intend to manage many UDC files that connect to various data stores.

See Also

Reference

DataConnectionFile Class

DataConnectionFile Members

Microsoft.Office.InfoPath.Server.Administration Namespace