Share via


ServiceQueue.FileGroup Property

Gets or sets the filegroup on which the service queue is located.

Namespace:  Microsoft.SqlServer.Management.Smo.Broker
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public Property FileGroup As String 
    Get 
    Set
'Usage
Dim instance As ServiceQueue 
Dim value As String 

value = instance.FileGroup

instance.FileGroup = value
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public string FileGroup { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property String^ FileGroup {
    String^ get ();
    void set (String^ value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member FileGroup : string with get, set
function get FileGroup () : String 
function set FileGroup (value : String)

Property Value

Type: System.String
A String object value that specifies the filegroup for the service queue.

Examples

Readme_ServiceBrokerConfiguration

See Also

Reference

ServiceQueue Class

Microsoft.SqlServer.Management.Smo.Broker Namespace

Other Resources

DEL - Development (Service Broker)

Managing Service Broker

Service Broker

CREATE QUEUE (Transact-SQL)