SavedSearch(String, Guid) Constructor
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.
Creates a new SavedSearch.
public:
SavedSearch(System::String ^ name, Guid viewTypeId);
public SavedSearch (string name, Guid viewTypeId);
new Microsoft.EnterpriseManagement.Monitoring.SavedSearch : string * Guid -> Microsoft.EnterpriseManagement.Monitoring.SavedSearch
Public Sub New (name As String, viewTypeId As Guid)
Parameters
- name
- String
The display name of the saved search.
- viewTypeId
- Guid
The view type of the saved search.
Exceptions
name is null
name.Length is out of range (1 to 256)